package com.tianshu.system.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.tianshu.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 分支行表
 * </p>
 *
 * @author liaojie
 * @since 2021-11-17
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("t_bank_branch")
public class TBankBranch extends BaseEntity {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String bankCode;

    private String version;

    private String createUserId;

    private LocalDateTime createTime;

    private String updateUserId;

    /**
     * 更新时间
     */
    private LocalDateTime updateTime;

    /**
     * 分支行名称
     */
    private String branchName;

    /**
     * 分支行地址
     */
    private String branchAddr;

    /**
     * 分支行代码
     */
    private String branchCode;

    /**
     * 纬度
     */
    private Double latitude;

    /**
     * 经度
     */
    private Double longitude;

    /**
     * 省份
     */
    private String province;

    /**
     * 城市
     */
    private String city;

    /**
     * 区
     */
    private String district;

    /**
     * 街道
     */
    private String street;

    /**
     * 街道门牌号
     */
    private String streetNumber;

    /**
     * 网点电话
     */
    private String bankTel;

    /**
     * 网点号
     */
    private String orgCode;


    public static final String ID = "id";

    public static final String BANK_CODE = "bank_code";

    public static final String VERSION = "version";

    public static final String CREATE_USER_ID = "create_user_id";

    public static final String CREATE_TIME = "create_time";

    public static final String UPDATE_USER_ID = "update_user_id";

    public static final String UPDATE_TIME = "update_time";

    public static final String BRANCH_NAME = "branch_name";

    public static final String BRANCH_ADDR = "branch_addr";

    public static final String BRANCH_CODE = "branch_code";

    public static final String LATITUDE = "latitude";

    public static final String LONGITUDE = "longitude";

    public static final String PROVINCE = "province";

    public static final String CITY = "city";

    public static final String DISTRICT = "district";

    public static final String STREET = "street";

    public static final String STREET_NUMBER = "street_number";

    public static final String BANK_TEL = "bank_tel";

    public static final String ORG_CODE = "org_code";

}
